package com.timebank.score.pojo.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 积分任务记录
 * @author shiliuyinzhen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ScoreTaskLog {

    /** 任务id */
    private Long taskId;

    /** 用户id */
    private Long userId;

    /** 完成时间 */
    private LocalDateTime finishTime;

    /** 领取时间 */
    private LocalDateTime receiveTime;

    /** 删除标志 */
    private Integer delFlag;

    /** 备注 */
    private String remark;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;
}
